<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>movies——聆听·彼岸</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="apple-touch-icon" sizes="180x180" href="/images/ico.jpg?v=5.1.4">
<link rel="icon" type="image/png" sizes="32x32" href="/images/ico.jpg?v=5.1.4">
<link rel="icon" type="image/png" sizes="16x16" href="/images/ico.jpg?v=5.1.4">
<script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
<style>

</style>
</head>
<body>
<pre data-lang="html"><code class="lang-html"><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>link</span> <span class="token attr-name">rel</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>stylesheet<span class="token punctuation">"</span></span> <span class="token attr-name">href</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>DPlayer.min.css<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>div</span> <span class="token attr-name">id</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>dplayer<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>div</span><span class="token punctuation">&gt;</span></span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>script</span> <span class="token attr-name">src</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>DPlayer.min.js<span class="token punctuation">"</span></span><span class="token punctuation">&gt;</span></span><span class="token script language-javascript"></span><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>script</span><span class="token punctuation">&gt;</span></span>
</code></pre><pre data-lang="js"><code class="lang-js"><span class="token keyword">const</span> dp <span class="token operator">=</span> <span class="token keyword">new</span> <span class="token class-name">DPlayer</span><span class="token punctuation">(</span><span class="token punctuation">{</span>
    container<span class="token punctuation">:</span> document<span class="token punctuation">.</span><span class="token function">getElementById</span><span class="token punctuation">(</span><span class="token string">'dplayer'</span><span class="token punctuation">)</span><span class="token punctuation">,</span>
    screenshot<span class="token punctuation">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
    video<span class="token punctuation">:</span> <span class="token punctuation">{</span>
        url<span class="token punctuation">:</span> <span class="token string">'demo.mp4'</span><span class="token punctuation">,</span>
        pic<span class="token punctuation">:</span> <span class="token string">'demo.jpg'</span><span class="token punctuation">,</span>
        thumbnails<span class="token punctuation">:</span> <span class="token string">'thumbnails.jpg'</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    subtitle<span class="token punctuation">:</span> <span class="token punctuation">{</span>
        url<span class="token punctuation">:</span> <span class="token string">'webvtt.vtt'</span>
    <span class="token punctuation">}</span><span class="token punctuation">,</span>
    danmaku<span class="token punctuation">:</span> <span class="token punctuation">{</span>
        id<span class="token punctuation">:</span> <span class="token string">'demo'</span><span class="token punctuation">,</span>
        api<span class="token punctuation">:</span> <span class="token string">'https://api.prprpr.me/dplayer/'</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
</code></pre><br><br><br><br><br>
CSS: https://yked.gitee.io/dplayer/dist/DPlayer.min.css<br>
JS: https://yked.gitee.io/dplayer/dist/DPlayer.min.js<br>
<script>

</script>
</body>
</html>